package rsync

import (
	"file-jet/file"
	"file-jet/rsync/router"

	"github.com/labstack/echo"
	"github.com/sirupsen/logrus"
)

func Rsyncserv(f file.Fileput, l *logrus.Logger) {
	e := echo.New()
	router.Register(e)
	// e.Logger.Fatal(e.Start(":20090"))
	l.Info(e.Start(":20090"))
}
